import { createRouter, createWebHistory } from 'vue-router'
import Login from '../Login.vue'
import Article from '../views/Article.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
{
  path: '/login',
  component: Login
},
{
  path: '/',
  redirect: '/article'
},
{
path: '/article',
  component: Article
}


  ]
})

export default router
